Optimal. Leaf size=34 \[ \text {Int}\left (\frac {(f+g x)^2}{\left (B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )+A\right )^2},x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx &=\int \left (\frac {f^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}+\frac {2 f g x}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}+\frac {g^2 x^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2}\right ) \, dx\\ &=f^2 \int \frac {1}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx+(2 f g) \int \frac {x}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx+g^2 \int \frac {x^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.72, size = 0, normalized size = 0.00 \[ \int \frac {(f+g x)^2}{\left (A+B \log \left (\frac {e (a+b x)^2}{(c+d x)^2}\right )\right )^2} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.69, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {g^{2} x^{2} + 2 \, f g x + f^{2}}{B^{2} \log \left (\frac {b^{2} e x^{2} + 2 \, a b e x + a^{2} e}{d^{2} x^{2} + 2 \, c d x + c^{2}}\right )^{2} + 2 \, A B \log \left (\frac {b^{2} e x^{2} + 2 \, a b e x + a^{2} e}{d^{2} x^{2} + 2 \, c d x + c^{2}}\right ) + A^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (g x + f\right )}^{2}}{{\left (B \log \left (\frac {{\left (b x + a\right )}^{2} e}{{\left (d x + c\right )}^{2}}\right ) + A\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.78, size = 0, normalized size = 0.00 \[ \int \frac {\left (g x +f \right )^{2}}{\left (B \ln \left (\frac {\left (b x +a \right )^{2} e}{\left (d x +c \right )^{2}}\right )+A \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {b d g^{2} x^{4} + a c f^{2} + {\left (a d g^{2} + {\left (2 \, d f g + c g^{2}\right )} b\right )} x^{3} + {\left ({\left (2 \, d f g + c g^{2}\right )} a + {\left (d f^{2} + 2 \, c f g\right )} b\right )} x^{2} + {\left (b c f^{2} + {\left (d f^{2} + 2 \, c f g\right )} a\right )} x}{2 \, {\left (2 \, {\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) - 2 \, {\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) + {\left (b c - a d\right )} A B + {\left (b c \log \relax (e) - a d \log \relax (e)\right )} B^{2}\right )}} + \int \frac {4 \, b d g^{2} x^{3} + b c f^{2} + 3 \, {\left (a d g^{2} + {\left (2 \, d f g + c g^{2}\right )} b\right )} x^{2} + {\left (d f^{2} + 2 \, c f g\right )} a + 2 \, {\left ({\left (2 \, d f g + c g^{2}\right )} a + {\left (d f^{2} + 2 \, c f g\right )} b\right )} x}{2 \, {\left (2 \, {\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) - 2 \, {\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) + {\left (b c - a d\right )} A B + {\left (b c \log \relax (e) - a d \log \relax (e)\right )} B^{2}\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [A] time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {{\left (f+g\,x\right )}^2}{{\left (A+B\,\ln \left (\frac {e\,{\left (a+b\,x\right )}^2}{{\left (c+d\,x\right )}^2}\right )\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {a c f^{2} + 2 a c f g x + a c g^{2} x^{2} + a d f^{2} x + 2 a d f g x^{2} + a d g^{2} x^{3} + b c f^{2} x + 2 b c f g x^{2} + b c g^{2} x^{3} + b d f^{2} x^{2} + 2 b d f g x^{3} + b d g^{2} x^{4}}{2 A B a d - 2 A B b c + \left (2 B^{2} a d - 2 B^{2} b c\right ) \log {\left (\frac {e \left (a + b x\right )^{2}}{\left (c + d x\right )^{2}} \right )}} - \frac {\int \frac {a d f^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {b c f^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 a c f g}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 a c g^{2} x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {3 a d g^{2} x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {3 b c g^{2} x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {2 b d f^{2} x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 b d g^{2} x^{3}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 a d f g x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {4 b c f g x}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx + \int \frac {6 b d f g x^{2}}{A + B \log {\left (\frac {a^{2} e}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {2 a b e x}{c^{2} + 2 c d x + d^{2} x^{2}} + \frac {b^{2} e x^{2}}{c^{2} + 2 c d x + d^{2} x^{2}} \right )}}\, dx}{2 B \left (a d - b c\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________